package com.example.unimap;

public class Line {
	public Line(int x1, int y1, int x2, int y2)
	{
		startPoint = new Point(x1, y1);
		endPoint = new Point(x2, y2);
	}
	public Line(Point start, Point end)
	{
		startPoint = start;
		endPoint = end;
	}
	
	private Point startPoint;
	private Point endPoint;
	
	public Point start()
	{
		return startPoint;
	}
	
	public Point end()
	{
		return endPoint;
	}
}
